module.exports = function cmddemo() {
    var exec = require('child_process').exec, child;
    var exec_path = "java -jar Temp.jar " + "hello,cmd!!!" ;
    var data;
    child = exec(exec_path,function (error, stdout, stderr){    
        console.log("stdout: "+stdout);
        console.log("stderr: "+stderr);
    });
}